package com.ys.entity.amazonorder;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].TCO_DayShop", catalog="Id")
public class TcoDayShop extends BaseEntity<TcoDayShop> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="TimeDay", nameJava="timeDay", typeDataBase="char")
	private String timeDay;
	@YsField(nameDataBase="ShopId", nameJava="shopId", typeDataBase="bigint")
	private Long shopId;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="OperateCompanyCode", nameJava="operateCompanyCode", typeDataBase="varchar")
	private String operateCompanyCode;
	@YsField(nameDataBase="OperateCompanyName", nameJava="operateCompanyName", typeDataBase="varchar")
	private String operateCompanyName;
	@YsField(nameDataBase="OperateUserId", nameJava="operateUserId", typeDataBase="varchar")
	private String operateUserId;
	@YsField(nameDataBase="OperateUserName", nameJava="operateUserName", typeDataBase="varchar")
	private String operateUserName;
	@YsField(nameDataBase="OperateOrgName", nameJava="operateOrgName", typeDataBase="varchar")
	private String operateOrgName;
	@YsField(nameDataBase="OperateRoleName", nameJava="operateRoleName", typeDataBase="varchar")
	private String operateRoleName;
	@YsField(nameDataBase="NumOrder", nameJava="numOrder", typeDataBase="int")
	private Integer numOrder;
	@YsField(nameDataBase="NumOrderNormal", nameJava="numOrderNormal", typeDataBase="int")
	private Integer numOrderNormal;
	@YsField(nameDataBase="NumOrderJingpin", nameJava="numOrderJingpin", typeDataBase="int")
	private Integer numOrderJingpin;
	@YsField(nameDataBase="AmountLocal", nameJava="amountLocal", typeDataBase="decimal")
	private BigDecimal amountLocal;
	@YsField(nameDataBase="AmountRmb", nameJava="amountRmb", typeDataBase="decimal")
	private BigDecimal amountRmb;
	@YsField(nameDataBase="NumSale", nameJava="numSale", typeDataBase="int")
	private Integer numSale;
	@YsField(nameDataBase="NumBack", nameJava="numBack", typeDataBase="int")
	private Integer numBack;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcoDayShop setId(Long id) {
		this.id = id;
		return this;
	}
	public String getTimeDay() {
		return timeDay;
	}
	public TcoDayShop setTimeDay(String timeDay) {
		this.timeDay = timeDay;
		return this;
	}
	public Long getShopId() {
		return shopId;
	}
	public TcoDayShop setShopId(Long shopId) {
		this.shopId = shopId;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TcoDayShop setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getOperateCompanyCode() {
		return operateCompanyCode;
	}
	public TcoDayShop setOperateCompanyCode(String operateCompanyCode) {
		this.operateCompanyCode = operateCompanyCode;
		return this;
	}
	public String getOperateCompanyName() {
		return operateCompanyName;
	}
	public TcoDayShop setOperateCompanyName(String operateCompanyName) {
		this.operateCompanyName = operateCompanyName;
		return this;
	}
	public String getOperateUserId() {
		return operateUserId;
	}
	public TcoDayShop setOperateUserId(String operateUserId) {
		this.operateUserId = operateUserId;
		return this;
	}
	public String getOperateUserName() {
		return operateUserName;
	}
	public TcoDayShop setOperateUserName(String operateUserName) {
		this.operateUserName = operateUserName;
		return this;
	}
	public String getOperateOrgName() {
		return operateOrgName;
	}
	public TcoDayShop setOperateOrgName(String operateOrgName) {
		this.operateOrgName = operateOrgName;
		return this;
	}
	public String getOperateRoleName() {
		return operateRoleName;
	}
	public TcoDayShop setOperateRoleName(String operateRoleName) {
		this.operateRoleName = operateRoleName;
		return this;
	}
	public Integer getNumOrder() {
		return numOrder;
	}
	public TcoDayShop setNumOrder(Integer numOrder) {
		this.numOrder = numOrder;
		return this;
	}
	public Integer getNumOrderNormal() {
		return numOrderNormal;
	}
	public TcoDayShop setNumOrderNormal(Integer numOrderNormal) {
		this.numOrderNormal = numOrderNormal;
		return this;
	}
	public Integer getNumOrderJingpin() {
		return numOrderJingpin;
	}
	public TcoDayShop setNumOrderJingpin(Integer numOrderJingpin) {
		this.numOrderJingpin = numOrderJingpin;
		return this;
	}
	public BigDecimal getAmountLocal() {
		return amountLocal;
	}
	public TcoDayShop setAmountLocal(BigDecimal amountLocal) {
		this.amountLocal = amountLocal;
		return this;
	}
	public BigDecimal getAmountRmb() {
		return amountRmb;
	}
	public TcoDayShop setAmountRmb(BigDecimal amountRmb) {
		this.amountRmb = amountRmb;
		return this;
	}
	public Integer getNumSale() {
		return numSale;
	}
	public TcoDayShop setNumSale(Integer numSale) {
		this.numSale = numSale;
		return this;
	}
	public Integer getNumBack() {
		return numBack;
	}
	public TcoDayShop setNumBack(Integer numBack) {
		this.numBack = numBack;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcoDayShop setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcoDayShop setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcoDayShop setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcoDayShop tcoDayShop(
		String timeDay,
		Long shopId,
		String shopName,
		String operateCompanyCode,
		String operateCompanyName,
		String operateUserId,
		String operateUserName,
		String operateOrgName,
		String operateRoleName,
		Integer numOrder,
		Integer numOrderNormal,
		Integer numOrderJingpin,
		BigDecimal amountLocal,
		BigDecimal amountRmb,
		Integer numSale,
		Integer numBack,
		Integer status
			) {
		TcoDayShop entity = new TcoDayShop();
		entity.setTimeDay(timeDay);
		entity.setShopId(shopId);
		entity.setShopName(shopName);
		entity.setOperateCompanyCode(operateCompanyCode);
		entity.setOperateCompanyName(operateCompanyName);
		entity.setOperateUserId(operateUserId);
		entity.setOperateUserName(operateUserName);
		entity.setOperateOrgName(operateOrgName);
		entity.setOperateRoleName(operateRoleName);
		entity.setNumOrder(numOrder);
		entity.setNumOrderNormal(numOrderNormal);
		entity.setNumOrderJingpin(numOrderJingpin);
		entity.setAmountLocal(amountLocal);
		entity.setAmountRmb(amountRmb);
		entity.setNumSale(numSale);
		entity.setNumBack(numBack);
		entity.setStatus(status);
		return entity;
	}
}